Optimal. Leaf size=167 \[ \frac {35 d^2}{12 (b c-a d)^3 (c+d x)^{3/2}}-\frac {1}{2 (b c-a d) (a+b x)^2 (c+d x)^{3/2}}+\frac {7 d}{4 (b c-a d)^2 (a+b x) (c+d x)^{3/2}}+\frac {35 b d^2}{4 (b c-a d)^4 \sqrt {c+d x}}-\frac {35 b^{3/2} d^2 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{4 (b c-a d)^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 167, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {44, 53, 65, 214}
\begin {gather*} -\frac {35 b^{3/2} d^2 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{4 (b c-a d)^{9/2}}+\frac {35 b d^2}{4 \sqrt {c+d x} (b c-a d)^4}+\frac {35 d^2}{12 (c+d x)^{3/2} (b c-a d)^3}+\frac {7 d}{4 (a+b x) (c+d x)^{3/2} (b c-a d)^2}-\frac {1}{2 (a+b x)^2 (c+d x)^{3/2} (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 53
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^3 (c+d x)^{5/2}} \, dx &=-\frac {1}{2 (b c-a d) (a+b x)^2 (c+d x)^{3/2}}-\frac {(7 d) \int \frac {1}{(a+b x)^2 (c+d x)^{5/2}} \, dx}{4 (b c-a d)}\\ &=-\frac {1}{2 (b c-a d) (a+b x)^2 (c+d x)^{3/2}}+\frac {7 d}{4 (b c-a d)^2 (a+b x) (c+d x)^{3/2}}+\frac {\left (35 d^2\right ) \int \frac {1}{(a+b x) (c+d x)^{5/2}} \, dx}{8 (b c-a d)^2}\\ &=\frac {35 d^2}{12 (b c-a d)^3 (c+d x)^{3/2}}-\frac {1}{2 (b c-a d) (a+b x)^2 (c+d x)^{3/2}}+\frac {7 d}{4 (b c-a d)^2 (a+b x) (c+d x)^{3/2}}+\frac {\left (35 b d^2\right ) \int \frac {1}{(a+b x) (c+d x)^{3/2}} \, dx}{8 (b c-a d)^3}\\ &=\frac {35 d^2}{12 (b c-a d)^3 (c+d x)^{3/2}}-\frac {1}{2 (b c-a d) (a+b x)^2 (c+d x)^{3/2}}+\frac {7 d}{4 (b c-a d)^2 (a+b x) (c+d x)^{3/2}}+\frac {35 b d^2}{4 (b c-a d)^4 \sqrt {c+d x}}+\frac {\left (35 b^2 d^2\right ) \int \frac {1}{(a+b x) \sqrt {c+d x}} \, dx}{8 (b c-a d)^4}\\ &=\frac {35 d^2}{12 (b c-a d)^3 (c+d x)^{3/2}}-\frac {1}{2 (b c-a d) (a+b x)^2 (c+d x)^{3/2}}+\frac {7 d}{4 (b c-a d)^2 (a+b x) (c+d x)^{3/2}}+\frac {35 b d^2}{4 (b c-a d)^4 \sqrt {c+d x}}+\frac {\left (35 b^2 d\right ) \text {Subst}\left (\int \frac {1}{a-\frac {b c}{d}+\frac {b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{4 (b c-a d)^4}\\ &=\frac {35 d^2}{12 (b c-a d)^3 (c+d x)^{3/2}}-\frac {1}{2 (b c-a d) (a+b x)^2 (c+d x)^{3/2}}+\frac {7 d}{4 (b c-a d)^2 (a+b x) (c+d x)^{3/2}}+\frac {35 b d^2}{4 (b c-a d)^4 \sqrt {c+d x}}-\frac {35 b^{3/2} d^2 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{4 (b c-a d)^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.70, size = 168, normalized size = 1.01 \begin {gather*} \frac {-8 a^3 d^3+8 a^2 b d^2 (10 c+7 d x)+a b^2 d \left (39 c^2+238 c d x+175 d^2 x^2\right )+b^3 \left (-6 c^3+21 c^2 d x+140 c d^2 x^2+105 d^3 x^3\right )}{12 (b c-a d)^4 (a+b x)^2 (c+d x)^{3/2}}+\frac {35 b^{3/2} d^2 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {-b c+a d}}\right )}{4 (-b c+a d)^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.17, size = 143, normalized size = 0.86
method | result | size |
derivativedivides | \(2 d^{2} \left (-\frac {1}{3 \left (a d -b c \right )^{3} \left (d x +c \right )^{\frac {3}{2}}}+\frac {3 b}{\left (a d -b c \right )^{4} \sqrt {d x +c}}+\frac {b^{2} \left (\frac {\frac {11 b \left (d x +c \right )^{\frac {3}{2}}}{8}+\left (\frac {13 a d}{8}-\frac {13 b c}{8}\right ) \sqrt {d x +c}}{\left (\left (d x +c \right ) b +a d -b c \right )^{2}}+\frac {35 \arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{8 \sqrt {\left (a d -b c \right ) b}}\right )}{\left (a d -b c \right )^{4}}\right )\) | \(143\) |
default | \(2 d^{2} \left (-\frac {1}{3 \left (a d -b c \right )^{3} \left (d x +c \right )^{\frac {3}{2}}}+\frac {3 b}{\left (a d -b c \right )^{4} \sqrt {d x +c}}+\frac {b^{2} \left (\frac {\frac {11 b \left (d x +c \right )^{\frac {3}{2}}}{8}+\left (\frac {13 a d}{8}-\frac {13 b c}{8}\right ) \sqrt {d x +c}}{\left (\left (d x +c \right ) b +a d -b c \right )^{2}}+\frac {35 \arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{8 \sqrt {\left (a d -b c \right ) b}}\right )}{\left (a d -b c \right )^{4}}\right )\) | \(143\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 608 vs.
\(2 (139) = 278\).
time = 0.41, size = 1226, normalized size = 7.34 \begin {gather*} \left [\frac {105 \, {\left (b^{3} d^{4} x^{4} + a^{2} b c^{2} d^{2} + 2 \, {\left (b^{3} c d^{3} + a b^{2} d^{4}\right )} x^{3} + {\left (b^{3} c^{2} d^{2} + 4 \, a b^{2} c d^{3} + a^{2} b d^{4}\right )} x^{2} + 2 \, {\left (a b^{2} c^{2} d^{2} + a^{2} b c d^{3}\right )} x\right )} \sqrt {\frac {b}{b c - a d}} \log \left (\frac {b d x + 2 \, b c - a d - 2 \, {\left (b c - a d\right )} \sqrt {d x + c} \sqrt {\frac {b}{b c - a d}}}{b x + a}\right ) + 2 \, {\left (105 \, b^{3} d^{3} x^{3} - 6 \, b^{3} c^{3} + 39 \, a b^{2} c^{2} d + 80 \, a^{2} b c d^{2} - 8 \, a^{3} d^{3} + 35 \, {\left (4 \, b^{3} c d^{2} + 5 \, a b^{2} d^{3}\right )} x^{2} + 7 \, {\left (3 \, b^{3} c^{2} d + 34 \, a b^{2} c d^{2} + 8 \, a^{2} b d^{3}\right )} x\right )} \sqrt {d x + c}}{24 \, {\left (a^{2} b^{4} c^{6} - 4 \, a^{3} b^{3} c^{5} d + 6 \, a^{4} b^{2} c^{4} d^{2} - 4 \, a^{5} b c^{3} d^{3} + a^{6} c^{2} d^{4} + {\left (b^{6} c^{4} d^{2} - 4 \, a b^{5} c^{3} d^{3} + 6 \, a^{2} b^{4} c^{2} d^{4} - 4 \, a^{3} b^{3} c d^{5} + a^{4} b^{2} d^{6}\right )} x^{4} + 2 \, {\left (b^{6} c^{5} d - 3 \, a b^{5} c^{4} d^{2} + 2 \, a^{2} b^{4} c^{3} d^{3} + 2 \, a^{3} b^{3} c^{2} d^{4} - 3 \, a^{4} b^{2} c d^{5} + a^{5} b d^{6}\right )} x^{3} + {\left (b^{6} c^{6} - 9 \, a^{2} b^{4} c^{4} d^{2} + 16 \, a^{3} b^{3} c^{3} d^{3} - 9 \, a^{4} b^{2} c^{2} d^{4} + a^{6} d^{6}\right )} x^{2} + 2 \, {\left (a b^{5} c^{6} - 3 \, a^{2} b^{4} c^{5} d + 2 \, a^{3} b^{3} c^{4} d^{2} + 2 \, a^{4} b^{2} c^{3} d^{3} - 3 \, a^{5} b c^{2} d^{4} + a^{6} c d^{5}\right )} x\right )}}, -\frac {105 \, {\left (b^{3} d^{4} x^{4} + a^{2} b c^{2} d^{2} + 2 \, {\left (b^{3} c d^{3} + a b^{2} d^{4}\right )} x^{3} + {\left (b^{3} c^{2} d^{2} + 4 \, a b^{2} c d^{3} + a^{2} b d^{4}\right )} x^{2} + 2 \, {\left (a b^{2} c^{2} d^{2} + a^{2} b c d^{3}\right )} x\right )} \sqrt {-\frac {b}{b c - a d}} \arctan \left (-\frac {{\left (b c - a d\right )} \sqrt {d x + c} \sqrt {-\frac {b}{b c - a d}}}{b d x + b c}\right ) - {\left (105 \, b^{3} d^{3} x^{3} - 6 \, b^{3} c^{3} + 39 \, a b^{2} c^{2} d + 80 \, a^{2} b c d^{2} - 8 \, a^{3} d^{3} + 35 \, {\left (4 \, b^{3} c d^{2} + 5 \, a b^{2} d^{3}\right )} x^{2} + 7 \, {\left (3 \, b^{3} c^{2} d + 34 \, a b^{2} c d^{2} + 8 \, a^{2} b d^{3}\right )} x\right )} \sqrt {d x + c}}{12 \, {\left (a^{2} b^{4} c^{6} - 4 \, a^{3} b^{3} c^{5} d + 6 \, a^{4} b^{2} c^{4} d^{2} - 4 \, a^{5} b c^{3} d^{3} + a^{6} c^{2} d^{4} + {\left (b^{6} c^{4} d^{2} - 4 \, a b^{5} c^{3} d^{3} + 6 \, a^{2} b^{4} c^{2} d^{4} - 4 \, a^{3} b^{3} c d^{5} + a^{4} b^{2} d^{6}\right )} x^{4} + 2 \, {\left (b^{6} c^{5} d - 3 \, a b^{5} c^{4} d^{2} + 2 \, a^{2} b^{4} c^{3} d^{3} + 2 \, a^{3} b^{3} c^{2} d^{4} - 3 \, a^{4} b^{2} c d^{5} + a^{5} b d^{6}\right )} x^{3} + {\left (b^{6} c^{6} - 9 \, a^{2} b^{4} c^{4} d^{2} + 16 \, a^{3} b^{3} c^{3} d^{3} - 9 \, a^{4} b^{2} c^{2} d^{4} + a^{6} d^{6}\right )} x^{2} + 2 \, {\left (a b^{5} c^{6} - 3 \, a^{2} b^{4} c^{5} d + 2 \, a^{3} b^{3} c^{4} d^{2} + 2 \, a^{4} b^{2} c^{3} d^{3} - 3 \, a^{5} b c^{2} d^{4} + a^{6} c d^{5}\right )} x\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 298 vs.
\(2 (139) = 278\).
time = 1.51, size = 298, normalized size = 1.78 \begin {gather*} \frac {35 \, b^{2} d^{2} \arctan \left (\frac {\sqrt {d x + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{4 \, {\left (b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}\right )} \sqrt {-b^{2} c + a b d}} + \frac {2 \, {\left (9 \, {\left (d x + c\right )} b d^{2} + b c d^{2} - a d^{3}\right )}}{3 \, {\left (b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}\right )} {\left (d x + c\right )}^{\frac {3}{2}}} + \frac {11 \, {\left (d x + c\right )}^{\frac {3}{2}} b^{3} d^{2} - 13 \, \sqrt {d x + c} b^{3} c d^{2} + 13 \, \sqrt {d x + c} a b^{2} d^{3}}{4 \, {\left (b^{4} c^{4} - 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} + a^{4} d^{4}\right )} {\left ({\left (d x + c\right )} b - b c + a d\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.28, size = 243, normalized size = 1.46 \begin {gather*} \frac {\frac {175\,b^2\,d^2\,{\left (c+d\,x\right )}^2}{12\,{\left (a\,d-b\,c\right )}^3}-\frac {2\,d^2}{3\,\left (a\,d-b\,c\right )}+\frac {35\,b^3\,d^2\,{\left (c+d\,x\right )}^3}{4\,{\left (a\,d-b\,c\right )}^4}+\frac {14\,b\,d^2\,\left (c+d\,x\right )}{3\,{\left (a\,d-b\,c\right )}^2}}{b^2\,{\left (c+d\,x\right )}^{7/2}-\left (2\,b^2\,c-2\,a\,b\,d\right )\,{\left (c+d\,x\right )}^{5/2}+{\left (c+d\,x\right )}^{3/2}\,\left (a^2\,d^2-2\,a\,b\,c\,d+b^2\,c^2\right )}+\frac {35\,b^{3/2}\,d^2\,\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {c+d\,x}\,\left (a^4\,d^4-4\,a^3\,b\,c\,d^3+6\,a^2\,b^2\,c^2\,d^2-4\,a\,b^3\,c^3\,d+b^4\,c^4\right )}{{\left (a\,d-b\,c\right )}^{9/2}}\right )}{4\,{\left (a\,d-b\,c\right )}^{9/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________